<!--
#    Copyright 2009 Tri-County Electric Cooperative, St. Matthews, South Carolina
#    This file is part of COOPGIS.
#    COOPGIS is free software: you can redistribute it and/or modify
#    it under the terms of the GNU General Public License as published by
#    the Free Software Foundation, either version 3 of the License, or
#    (at your option) any later version.
#    COOPGIS is distributed in the hope that it will be useful,
#    but WITHOUT ANY WARRANTY; without even the implied warranty of
#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
#    GNU General Public License for more details.
#    You should have received a copy of the GNU General Public License
#    along with COOPGIS.  If not, see <http://www.gnu.org/licenses/>.
**************************************************************************-->

<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    {{OpenLayersJavaScriptHeading|safe}}
    <title>COOPGIS Road Editor</title>
    <style type="text/css">
        #map {
            width: 800px;
            height: 600px;
            border: 1px solid black;
        }
    </style>
  </head>
  <body>
<b>{{LoginStatus}}</b>   &nbsp&nbsp&nbsp&nbsp <small><a href="/coopgis/">Main Menu</a></small><br>
{{GPSStatus}} {{SelectedRoadSegments}} {{SelectedMilesOfRoad}}<br>
<form method="post" action="">
<table>
<tr><td>
    <div id="map">{{OpenLayersJavaScript|safe}}</div>
</td>
<td><table>
<tr><td>Map:  {{form.Map}}</td><td>&nbsp</td></tr>
<tr><td>{{form.Line}}</td></tr>
<tr><td>
        <table>
        <tr><td>New {{form.NewIndicator}}</td><td>Clear Selection {{form.ClearSelectionIndicator}}</td></tr>
        <tr><td>Import Line From GPSTrace {{form.ImportTraceToRoadIndicator}}</td><td>Update {{form.UpdateIndicator}}</td></tr>
        <tr><td>Snap Distance {{form.SnapDistance}}</td><td>Delete {{form.DeleteIndicator}}</td><td align="right"><input type="submit" /></td></tr> 
        <tr><td><b>Selection Options</b></td></tr>
        <tr><td>Tag Number {{form.SelectStationTagNumber}}</td><td>Station {{form.SelectStationid}}</td><td>GPS {{form.SelectGPSIndicator}}</td></tr>
        <tr><td>Search Distance {{form.SelectionPointSearchDistance}}</td></tr>
        <tr><td>Selection Name Limiter {{form.SelectionNameLimiter}}</td><td>Select Only One Segment {{form.SelectOnlyOneSegmentIndicator}}</td></tr>
        <tr><td><b>Change Options</b></td></tr>
        <tr><td>New Name {{form.NewName}}</td><td>Change {{form.ChangeNameIndicator}}</td></tr>
        <tr><td>Interstate {{form.NewInterstateIndicator}}</td><td>Change {{form.ChangeInterstateIndicator}}</td></tr>
        <tr><td>US Highway {{form.NewUSHighwayIndicator}}</td><td>Change {{form.ChangeUSHighwayIndicator}}</td></tr>
        <tr><td>State Highway {{form.NewStateHighwayIndicator}}</td><td>Change {{form.ChangeStateHighwayIndicator}}</td></tr>
        <tr><td>State Highway {{form.NewStateHighwayIndicator}}</td><td>Change {{form.ChangeStateHighwayIndicator}}</td></tr>
        <tr><td>Main Road {{form.NewMainRoadIndicator}}</td><td>Change {{form.ChangeMainRoadIndicator}}</td></tr>
        <tr><td>Left From Address {{form.NewLeftFromAddress}}</td><td>Change {{form.ChangeLeftFromAddressIndicator}}</td></tr>
        <tr><td>Left To Address {{form.NewLeftToAddress}}</td><td>Change {{form.ChangeLeftToAddressIndicator}}</td></tr>
        <tr><td>Right From Address {{form.NewRightFromAddress}}</td><td>Change {{form.ChangeRightFromAddressIndicator}}</td></tr>
        <tr><td>Right To Address {{form.NewRightToAddress}}</td><td>Change {{form.ChangeRightToAddressIndicator}}</td></tr>
        <tr><td>WKT:{{form.WKTLine}}</td><td>&nbsp</td></tr>
        </table>
</td></tr>
</table>
</table>

</form>
</body>
</html>
